<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<title></title>

<script src="../jquery-1.9.1.min.js"></script>
<!--文件上传-->

<link rel="stylesheet" type="text/css" href="upload-reset.css">

<script type="text/javascript" src="../webuploader/webuploader.js"></script>


<script type="text/javascript">
	var base = "/web";

	$(function() {
		var fileList = [ {
			"name" : "1.png",
			"url" : "http://images.csdn.net/20160427/twitter-moments.jpg"
		} ];
		var fileupload1 = $("#uploader1").fileupload({
			fileList : fileList,
			imgType : false,
			fileNum : 1
		});
		var fileupload2 = $("#uploader2").fileupload({
			fileList : fileList,
			imgType : false
		});
		var fileupload3 = $("#uploader3").fileupload({
			fileList : fileList,
			imgType : true,
			fileNum : 1
		});
		 fileupload4 = $("#uploader4").fileupload({
			fileList : fileList,
			imgType : true
		});

		//获取所有文件，以逗号分开
		// 		files = fileupload.getFiles();
	});
</script>

<script type="text/javascript" src="fileupload-new.js"></script>


</head>

<body>

	<div id="uploader1"></div>
	<br>
	<div id="uploader2"></div>
	<br>
	<div id="uploader3"></div>
	<br>
	<div id="uploader4"></div>

</body>

</html>